#ifndef ALIVECOMMAND_H
#define ALIVECOMMAND_H

#include <QByteArray>
#include <QStringList>
#include <QDebug>
#include <QHostAddress>
#include <QApplication>
#include <QObject>

#include "Command.h"
#include "User.h"

/**
 * This concrede class extend QObject for signals and slots, but implement also the
 * Command interface
 */
class AliveCommand : public Command
{
	
private:
	QByteArray *tag;
	
public:
	AliveCommand();
	~AliveCommand();
	void executeCommand(QStringList *l, QHostAddress address);
	QByteArray getTag();
	QByteArray getCommandDatagram();	
	
};
#endif
